package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题对象 question
 * 
 * @author ruoyi
 * @date 2021-06-02
 */
public class Question extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表主键 */
    private Long id;

    /** 模块名称 */
    @Excel(name = "模块名称")
    private Long moduleId;

    /** 题库类型 */
    @Excel(name = "题库类型")
    private String flag;

    /** 顺序 */
    @Excel(name = "顺序",cellType = Excel.ColumnType.NUMERIC)
    private Long seq;

    /** 问题 */
    @Excel(name = "问题")
    private String question;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String type;

    /** 选项A */
    @Excel(name = "选项A")
    private String a;

    /** 选项B */
    @Excel(name = "选项B")
    private String b;

    /** 选项C */
    @Excel(name = "选项C")
    private String c;

    /** 选项D */
    @Excel(name = "选项D")
    private String d;

    /** 选项E */
    @Excel(name = "选项E")
    private String e;

    /** 选项F */
    @Excel(name = "选项F")
    private String f;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setModuleId(Long moduleId) 
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId() 
    {
        return moduleId;
    }
    public void setFlag(String flag) 
    {
        this.flag = flag;
    }

    public String getFlag() 
    {
        return flag;
    }
    public void setSeq(Long seq) 
    {
        this.seq = seq;
    }

    public Long getSeq() 
    {
        return seq;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setA(String a) 
    {
        this.a = a;
    }

    public String getA() 
    {
        return a;
    }
    public void setB(String b) 
    {
        this.b = b;
    }

    public String getB() 
    {
        return b;
    }
    public void setC(String c) 
    {
        this.c = c;
    }

    public String getC() 
    {
        return c;
    }
    public void setD(String d) 
    {
        this.d = d;
    }

    public String getD() 
    {
        return d;
    }
    public void setE(String e) 
    {
        this.e = e;
    }

    public String getE() 
    {
        return e;
    }
    public void setF(String f) 
    {
        this.f = f;
    }

    public String getF() 
    {
        return f;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moduleId", getModuleId())
            .append("flag", getFlag())
            .append("seq", getSeq())
            .append("question", getQuestion())
            .append("type", getType())
            .append("a", getA())
            .append("b", getB())
            .append("c", getC())
            .append("d", getD())
            .append("e", getE())
            .append("f", getF())
            .append("answer", getAnswer())
            .toString();
    }
}
